﻿@model List<MenuItem>
@foreach (var top in Model) {
    <h2>
        @top.MenuName
    </h2>
    <div>
        @foreach (var child in top.ChildMenu) {
            if (child.Selected) {
            <a style="color:red" href="@Url.Content(child.URL)">@child.MenuName</a>        
            } else {
            <a href="@Url.Content(child.URL)">@child.MenuName</a>        
            }
            <br />
        }
    </div>
}